package com.healthcloud.entity;

import java.io.Serializable;
import java.util.Date;



/**
 * 医生签约表
 * 
 * @author yucl
 * @email yucailong1111@126.com
 * @date 2017-09-04 08:29:56
 */
public class DocPpApplicationEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//
	private Long id;
	//状态0=申请，1=同意，2=用户取消，3=医生拒绝签约
	private Integer state;
	//申请时间
	private Date applytime;
	//同意时间
	private Date aggretime;
	//取消时间
	private Date canceltime;
	//创建时间
	private Date createtime;
	//更新时间
	private Date updatetime;

	//病人
	private PpPatientBaseEntity patientEntity;

	//医生
	private HlDoctorEntity hlDoctorEntity;

	private Integer remainingTime;

	/**关注：0：未关注，1：已关注，2：取消关注**/
	private String concern;

	private Date concerntime;

	private Integer type;

	/**
	 * 设置：
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Long getId() {
		return id;
	}

	/**
	 * 设置：状态0=申请，1=同意，2=用户取消，3=医生拒绝签约
	 */
	public void setState(Integer state) {
		this.state = state;
	}
	/**
	 * 获取：状态0=申请，1=同意，2=用户取消，3=医生拒绝签约
	 */
	public Integer getState() {
		return state;
	}
	/**
	 * 设置：申请时间
	 */
	public void setApplytime(Date applytime) {
		this.applytime = applytime;
	}
	/**
	 * 获取：申请时间
	 */
	public Date getApplytime() {
		return applytime;
	}
	/**
	 * 设置：同意时间
	 */
	public void setAggretime(Date aggretime) {
		this.aggretime = aggretime;
	}
	/**
	 * 获取：同意时间
	 */
	public Date getAggretime() {
		return aggretime;
	}
	/**
	 * 设置：取消时间
	 */
	public void setCanceltime(Date canceltime) {
		this.canceltime = canceltime;
	}
	/**
	 * 获取：取消时间
	 */
	public Date getCanceltime() {
		return canceltime;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreatetime() {
		return createtime;
	}
	/**
	 * 设置：更新时间
	 */
	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}
	/**
	 * 获取：更新时间
	 */
	public Date getUpdatetime() {
		return updatetime;
	}


	public PpPatientBaseEntity getPatientEntity() {
		return patientEntity;
	}

	public void setPatientEntity(PpPatientBaseEntity patientEntity) {
		this.patientEntity = patientEntity;
	}

	public HlDoctorEntity getHlDoctorEntity() {
		return hlDoctorEntity;
	}

	public void setHlDoctorEntity(HlDoctorEntity hlDoctorEntity) {
		this.hlDoctorEntity = hlDoctorEntity;
	}

	public Integer getRemainingTime() {
		return remainingTime;
	}

	public String getConcern() {
		return concern;
	}

	public void setConcern(String concern) {
		this.concern = concern;
	}

	public Date getConcerntime() {
		return concerntime;
	}

	public void setConcerntime(Date concerntime) {
		this.concerntime = concerntime;
	}

	public void setRemainingTime(Integer remainingTime) {
		this.remainingTime = remainingTime;
	}/**/

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
}
